
set(CMAKE_CXX_FLAGS "-g -Wall")
# make a list of source code 
file(GLOB_RECURSE SRC_CODE ./src/*.cpp)
file(GLOB_RECURSE HDR_CODE ./src/*.h  )

# set the lists of include files of the dependencies
include_directories(${INCLUDE_DEPS})
#message("Path to headers of gtests " ${INCLUDE_DEPS})

# make a list of libraries
file(GLOB_RECURSE LIBS ${LP_GAME_ENGINE_SOURCE_DIR}/dependencias/libs/*.a)
#message("Adding this libs to project " ${LIBS})

# build executable
add_executable(unit_test ${SRC_CODE} ${HDR_CODE})

# and link with the libraries
target_link_libraries(unit_test ${LIBS} pthread)

